.class public abstract Lcom/xingbook/park/activity/BaseXbMainActivity;
.super Lcom/xingbook/park/activity/BaseActivity;


# instance fields
.field protected a:Lcom/xingbook/park/c/a/d;

.field protected b:Lcom/xingbook/park/c/a/a;

.field protected c:Lcom/xingbook/park/c/a/x;

.field private d:Landroid/widget/RelativeLayout;

.field private e:Landroid/widget/LinearLayout;

.field private f:Lcom/xingbook/park/c/a/k;

.field private g:Landroid/widget/ListView;

.field private h:Lcom/xingbook/park/ui/p;

.field private i:Lcom/xingbook/park/ui/f;

.field private l:Lcom/xingbook/park/a/e;

.field private m:Lcom/xingbook/park/a/c;

.field private n:Lcom/xingbook/park/a/a;

.field private o:Lcom/xingbook/park/b/a;

.field private p:Lcom/xingbook/park/b/d;

.field private q:Ljava/util/LinkedHashMap;

.field private r:Ljava/util/ArrayList;

.field private s:Ljava/util/ArrayList;

.field private t:Lcom/xingbook/park/c/a/f;

.field private u:Lcom/xingbook/park/ui/r;

.field private v:Lcom/xingbook/park/c/a/b;

.field private w:Z

.field private x:Lcom/xingbook/park/activity/o;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    new-instance v0, Lcom/xingbook/park/activity/f;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/f;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->t:Lcom/xingbook/park/c/a/f;

    new-instance v0, Lcom/xingbook/park/activity/g;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/g;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->u:Lcom/xingbook/park/ui/r;

    new-instance v0, Lcom/xingbook/park/activity/h;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/h;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->c:Lcom/xingbook/park/c/a/x;

    new-instance v0, Lcom/xingbook/park/activity/i;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/i;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->v:Lcom/xingbook/park/c/a/b;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->w:Z

    new-instance v0, Lcom/xingbook/park/activity/o;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/o;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    return-void
.end method

.method private a(II)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->c()V

    invoke-virtual {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->b(I)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0}, Lcom/xingbook/park/a/e;->g()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->q:Ljava/util/LinkedHashMap;

    invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->b:Lcom/xingbook/park/c/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0, p2}, Lcom/xingbook/park/activity/BaseXbMainActivity;->g(I)V

    goto :goto_0

    :cond_2
    invoke-virtual {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c(I)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0}, Lcom/xingbook/park/a/c;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    :cond_3
    invoke-direct {p0, p2}, Lcom/xingbook/park/activity/BaseXbMainActivity;->f(I)V

    goto :goto_0

    :cond_4
    invoke-virtual {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->o:Lcom/xingbook/park/b/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/k;->setData(Lcom/xingbook/park/b/a;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/a/a;->g()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0

    :cond_5
    invoke-direct {p0, p2}, Lcom/xingbook/park/activity/BaseXbMainActivity;->e(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/park/activity/BaseXbMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->n()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->g(I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/BaseXbMainActivity;II)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(II)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/BaseXbMainActivity;Lcom/xingbook/park/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->o:Lcom/xingbook/park/b/a;

    return-void
.end method

.method static synthetic b(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/b/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->o:Lcom/xingbook/park/b/a;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->f(I)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/c/a/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->e(I)V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/park/activity/BaseXbMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->s:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/a/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    return-object v0
.end method

.method private e(I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    const/4 v1, 0x1

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c()I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/park/activity/o;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/k;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/park/activity/k;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic f(Lcom/xingbook/park/activity/BaseXbMainActivity;)Ljava/util/LinkedHashMap;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->q:Ljava/util/LinkedHashMap;

    return-object v0
.end method

.method private f(I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    const/4 v1, 0x1

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->d()I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/park/activity/o;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/m;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/park/activity/m;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic g(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/a/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    return-object v0
.end method

.method private g(I)V
    .locals 4

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    const/4 v1, 0x1

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->f()I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/park/activity/o;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/n;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/park/activity/n;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/park/activity/BaseXbMainActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/ui/p;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->h:Lcom/xingbook/park/ui/p;

    return-object v0
.end method

.method static synthetic j(Lcom/xingbook/park/activity/BaseXbMainActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic k(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/a/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    return-object v0
.end method

.method static synthetic l(Lcom/xingbook/park/activity/BaseXbMainActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->r:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic m(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/b/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->p:Lcom/xingbook/park/b/d;

    return-object v0
.end method

.method static synthetic n(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/activity/o;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    return-object v0
.end method

.method private n()V
    .locals 1

    const/4 v0, 0x5

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->d(I)V

    return-void
.end method

.method private o()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->a()V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/xingbook/ting/play/j;->a()Lcom/xingbook/ting/play/j;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->i:Lcom/xingbook/park/ui/f;

    if-eqz v0, :cond_1

    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v2, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v2, :cond_1

    const/4 v0, 0x1

    :goto_1
    invoke-virtual {v1, v0}, Lcom/xingbook/park/ui/f;->a(Z)V

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method


# virtual methods
.method public abstract a()I
.end method

.method public abstract a(Landroid/content/Intent;)V
.end method

.method public declared-synchronized a(Z)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->w:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public abstract a(I)Z
.end method

.method public abstract b()V
.end method

.method public abstract b(I)Z
.end method

.method public abstract c()I
.end method

.method public abstract c(I)Z
.end method

.method public abstract d()I
.end method

.method public abstract f()I
.end method

.method public abstract g()Lcom/xingbook/park/a/e;
.end method

.method public abstract h()Lcom/xingbook/park/a/c;
.end method

.method public abstract i()Lcom/xingbook/park/a/a;
.end method

.method public declared-synchronized k()Z
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->w:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected l()V
    .locals 4

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->k()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->x:Lcom/xingbook/park/activity/o;

    const/4 v1, 0x4

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c()I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/xingbook/park/activity/o;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/l;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/l;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method public m()Lcom/xingbook/park/a/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 9

    const v8, 0x7f0a0019

    const/4 v7, 0x3

    const/4 v6, -0x2

    const/4 v3, 0x0

    const/4 v5, -0x1

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(Landroid/content/Intent;)V

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v5}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->t:Lcom/xingbook/park/c/a/f;

    invoke-static {p0, v2, v1, v4}, Lcom/xingbook/park/c/a/d;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/c/a/f;)Lcom/xingbook/park/c/a/d;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->a:Lcom/xingbook/park/c/a/d;

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->a:Lcom/xingbook/park/c/a/d;

    invoke-virtual {v2, v8}, Lcom/xingbook/park/c/a/d;->setId(I)V

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    const v4, 0x7f0a0042

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setId(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v7, v8}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v4, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/ListView;

    invoke-direct {v2, v0}, Landroid/widget/ListView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setDividerHeight(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    const v2, 0x7f070043

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setSelector(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    const v2, 0xffffff

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setCacheColorHint(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v2, 0x7f0a0042

    invoke-virtual {v0, v7, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v2, v0}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->u:Lcom/xingbook/park/ui/r;

    invoke-static {p0, v2, v1, v4}, Lcom/xingbook/park/ui/p;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/r;)Lcom/xingbook/park/ui/p;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->h:Lcom/xingbook/park/ui/p;

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v2, v0}, Lcom/xingbook/park/ui/p;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/xingbook/park/c/a/k;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    invoke-direct {v0, p0, v2}, Lcom/xingbook/park/c/a/k;-><init>(Landroid/app/Activity;F)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v2}, Lcom/xingbook/park/c/a/k;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/xingbook/park/c/a/a;

    iget-object v2, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->v:Lcom/xingbook/park/c/a/b;

    invoke-direct {v0, p0, v1, v2}, Lcom/xingbook/park/c/a/a;-><init>(Landroid/app/Activity;FLcom/xingbook/park/c/a/b;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->b:Lcom/xingbook/park/c/a/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->b:Lcom/xingbook/park/c/a/a;

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/xingbook/park/b/d;

    invoke-direct {v0}, Lcom/xingbook/park/b/d;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->p:Lcom/xingbook/park/b/d;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a()I

    move-result v0

    const/16 v1, 0x40

    if-eq v0, v1, :cond_0

    const/16 v1, 0x50

    if-ne v0, v1, :cond_1

    :cond_0
    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->p:Lcom/xingbook/park/b/d;

    invoke-static {v0}, Lcom/xingbook/c/t;->c(I)I

    move-result v0

    invoke-virtual {v1, v0}, Lcom/xingbook/park/b/d;->b(I)V

    :goto_0
    new-instance v0, Ljava/util/LinkedHashMap;

    invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->q:Ljava/util/LinkedHashMap;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->r:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->s:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->g()Lcom/xingbook/park/a/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->h()Lcom/xingbook/park/a/c;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->i()Lcom/xingbook/park/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->g:Landroid/widget/ListView;

    new-instance v1, Lcom/xingbook/park/activity/j;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/j;-><init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    invoke-static {p0}, Lcom/xingbook/c/c;->a(Landroid/app/Activity;)Lcom/xingbook/park/ui/g;

    move-result-object v2

    invoke-static {v0, p0, v1, v2}, Lcom/xingbook/park/ui/f;->a(Landroid/widget/RelativeLayout;Landroid/content/Context;FLcom/xingbook/park/ui/g;)Lcom/xingbook/park/ui/f;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->i:Lcom/xingbook/park/ui/f;

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->i:Lcom/xingbook/park/ui/f;

    invoke-virtual {v0}, Lcom/xingbook/park/ui/f;->a()V

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->b()V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->d:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    move v4, v3

    move v5, v3

    move v6, v3

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/ui/a;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FIIII)Lcom/xingbook/park/ui/a;

    return-void

    :cond_1
    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->p:Lcom/xingbook/park/b/d;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/b/d;->b(I)V

    goto/16 :goto_0
.end method

.method protected onDestroy()V
    .locals 2

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    invoke-static {}, Lcom/xingbook/c/c;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->o()V

    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_0
    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->n()V

    goto :goto_0

    :cond_1
    invoke-super {p0, p1, p2}, Lcom/xingbook/park/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1
.end method

.method public onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method public onResume()V
    .locals 2

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->a:Lcom/xingbook/park/c/a/d;

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/d;->getSelectedIndex()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(I)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->f:Lcom/xingbook/park/c/a/k;

    invoke-virtual {v1}, Lcom/xingbook/park/c/a/k;->a()Z

    move-result v1

    if-eqz v1, :cond_1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->e(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->h:Lcom/xingbook/park/ui/p;

    invoke-virtual {v1}, Lcom/xingbook/park/ui/p;->a()Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->u:Lcom/xingbook/park/ui/r;

    invoke-interface {v0}, Lcom/xingbook/park/ui/r;->a()V

    goto :goto_0

    :cond_2
    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->a(I)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/a/a;->g()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->n:Lcom/xingbook/park/a/a;

    invoke-virtual {v0}, Lcom/xingbook/park/a/a;->notifyDataSetChanged()V

    goto :goto_0

    :cond_3
    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->b(I)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0}, Lcom/xingbook/park/a/e;->g()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->l:Lcom/xingbook/park/a/e;

    invoke-virtual {v0}, Lcom/xingbook/park/a/e;->notifyDataSetChanged()V

    goto :goto_0

    :cond_4
    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c(I)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0}, Lcom/xingbook/park/a/c;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/BaseXbMainActivity;->m:Lcom/xingbook/park/a/c;

    invoke-virtual {v0}, Lcom/xingbook/park/a/c;->notifyDataSetChanged()V

    goto :goto_0
.end method
